import { getToken, setToken } from "../../utils/token"

const initialState = {}

const login = (state = initialState, action) => {
  if (action.type === 'userLogin') {
    return action.payload
  }
  return state
}
export default login